home *** CD-ROM | disk | FTP | other *** search
/ Oxygen Multimedia Graphics 22 / Oxygen Multimedia Graphics 22.iso / pc / System / OX22 / PDC_87_CT3 script.ls < prev    next >
Encoding:
Text File  |  2008-03-12  |  1.4 KB  |  30 lines

  1. global ds, gList, giNum, gtNum, gtColor
  2.  
  3. on prepareFrame
  4.   templateName = "t" & gtNum
  5.   template = getAt(gList, templateName)
  6.   color1 = template & string(getAt(gList, "t" & gtNum & "c1"))
  7.   color2 = template & string(getAt(gList, "t" & gtNum & "c2"))
  8.   color3 = template & string(getAt(gList, "t" & gtNum & "c3"))
  9.   filePath = the moviePath & "INIT"
  10.   member("T1A").fileName = filePath & ds & color1 & "_A.jpg"
  11.   member("T1B").fileName = filePath & ds & color1 & "_B.jpg"
  12.   member("T1C").fileName = filePath & ds & color1 & "_C.jpg"
  13.   member("T1D").fileName = filePath & ds & color1 & "_D.jpg"
  14.   member("T1E").fileName = filePath & ds & color1 & "_E.jpg"
  15.   updateStage()
  16.   member("T2A").fileName = filePath & ds & color2 & "_A.jpg"
  17.   member("T2B").fileName = filePath & ds & color2 & "_B.jpg"
  18.   member("T2C").fileName = filePath & ds & color2 & "_C.jpg"
  19.   member("T2D").fileName = filePath & ds & color2 & "_D.jpg"
  20.   member("T2E").fileName = filePath & ds & color2 & "_E.jpg"
  21.   member("T3A").fileName = filePath & ds & color3 & "_A.jpg"
  22.   member("T3B").fileName = filePath & ds & color3 & "_B.jpg"
  23.   member("T3C").fileName = filePath & ds & color3 & "_C.jpg"
  24.   member("T3D").fileName = filePath & ds & color3 & "_D.jpg"
  25.   member("T3E").fileName = filePath & ds & color3 & "_E.jpg"
  26.   member("CT3-T1C1-Name").text = color1
  27.   member("CT3-T1C2-Name").text = color2
  28.   member("CT3-T1C3-Name").text = color3
  29. end
  30.